<!--{template html/listheader}-->
<!--{template common/top_fix}-->


<div class="cl">
<ul class="ainuo_forumtop cl">
    <li>
        <div class="abody">
            <!--{eval $isfav = DB::result_first("SELECT favid FROM ".DB::table('home_favorite')." where id=".$_G[fid]." and idtype='fid' and uid='$_G[uid]'");}-->
            <!--{if !$isfav || !$_G[uid]}-->
            <a href="javascript:;" ainuoto="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum" id="a_favorite" class="afa_fav">+ $alang_gz</a>
            <!--{else}-->
            <a href="javascript:;" ainuoto="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum&formhash={FORMHASH}" class="afa_fav gy">$alang_yiguanzhu</a>
            <!--{/if}-->
            <p>
            $alang_today: <em>$_G[forum][todayposts]</em>
            $alang_uzhuti: <em>$_G[forum][threads]</em>
            </p>
            
        </div>
    </li>
</ul>
</div>

<!--{hook/forumdisplay_top_mobile}-->


<!--{if $quicksearchlist && !$_GET['archiveid']}-->
	<!--{subtemplate forum/search_sortoption}-->
<!--{else}-->
	<!--{subtemplate forum/type}-->
<!--{/if}-->


<!--{if empty($_G['forum']['sortmode'])}-->
    {if $_G['forum_threadcount']}
    <div class="wthreadlist" id="threadlist">
        <ul id="ainuoloadmore" class="ainuoloadmore">
			<!--{subtemplate html/word_list}-->
        </ul> 
    </div>
    {else}
    <div class="ainuoemp">{lang forum_nothreads}</div>
    {/if}

<!--{else}-->
    <!--{subtemplate forum/forumdisplay_sort}-->
<!--{/if}-->

{if $pagestyle == 1}
<div id="ainuoloadempty"></div>
<!--{if $_G[forum][threads] && ($_G[forum][threads] > $_G[tpp])}-->
<div id="loading" class="loading G-animate-load-wrap">
	<div class="load-loading"><span class="loading02"></span> <span class="load-word">$alang_loading</span></div>
</div>
<!--{/if}-->
{else}
$multipage
{/if}
